package com.quasar.hpatient.model.litePalmodel;

import com.bigkoo.pickerview.model.IPickerViewData;

import org.litepal.crud.DataSupport;

/**
 * name : lishuai
 * time : 2017/9/26
 * title: 肾来源信息表
 */

public class KidneySourceTypedb extends DataSupport implements IPickerViewData {

    private int id;
    private int primaryid;
    private String Name; //肾来源类型名称
    private String Description; //肾来源类型描述信息
    private int status;
    private int version;

    public KidneySourceTypedb(int id, int primaryid, String name, String description, int status, int version) {
        this.id = id;
        this.primaryid = primaryid;
        Name = name;
        Description = description;
        this.status = status;
        this.version = version;
    }



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPrimaryid() {
        return primaryid;
    }

    public void setPrimaryid(int primaryid) {
        this.primaryid = primaryid;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getDescription() {
        return Description;
    }

    public void setDescription(String description) {
        Description = description;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    @Override
    public String getPickerViewText() {
        return getName();
    }
}
